WSAL\Controllers\Connection C

Total Complexity 108
Dependencies 10
Dependents 10
Total lines 911
Lines of code 430
Logical lines of code 244
Comment lines 371
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
test_connection()
A
46 10 37
save_mirror()
A
47 10 36
get_archive_database_connection()
S
54 6 23
create_connection()
S
55 5 21
load_connection_config()
S
61 5 11
is_writing_directly()
S
62 5 11
get_config()
S
60 4 14
get_mirrors_by_connection_name()
S
61 4 12
save_connection()
S
61 4 12
delete_connection()
S
57 3 17
get_mirror_types()
S
58 3 15
check_config()
S
63 4 10
build_connection()
S
59 3 13
get_all_connections()
S
60 3 13
truncate_key()
S
63 3 11
archive()
S
62 3 11
remove_archiving_config()
S
58 2 17
get_mirror()
S
65 3 8
archiving_alerts()
S
58 2 15
get_openssl_iv()
S
65 2 9
is_external()
S
74 2 4
display_notice_if_connection_not_available()
S
65 2 10
set_archiving_enabled()
S
69 2 7
set_archiving_cron_started()
S
69 2 7
remove_external_storage_config()
S
65 2 9
update_connection_as_external()
S
63 2 10
encrypt_string()
S
62 1 11
get_connection()
S
79 1 3
decrypt_string()
S
65 1 8
destroy_connection()
S
80 1 3
delete_mirror()
S
65 1 10
close_connection()
S
76 1 4
enable_archive_mode()
S
80 1 3
is_archive_mode()
S
80 1 3
recreate_tables()
S
77 1 4
migrate_back_occurrence()
S
67 1 8
disable_archive_mode()
S
80 1 3
migrate_occurrence()
S
68 1 7